package com.ciko.code.http.Req;

import com.ciko.code.constant.Api;
import com.ciko.code.http.BaseRequest;

/**
 * Created by Administrator on 2016/4/2.
 */
public class FieldAttendanceReq extends BaseRequest {

    public FieldAttendanceReq(String custName, String custAddr, String reason, Double custLon, Double custLat, String actualAddr, Double actualLon, Double actualLat,String phoneId) {
        init();
        put("custName", custName);
        put("custAddr", custAddr);
        put("reason", reason);
        put("custLon", custLon);
        put("custLat", custLat);
        put("actualAddr", actualAddr);
        put("actualLon", actualLon);
        put("actualLat", actualLat);
        put("phoneId", phoneId);
        putCid();
    }

    @Override
    public String getUrl() {
        return Api.getFieldAtt;
    }

    @Override
    public Class<?> getResponseClazz() {
        return FieldAttendanceRes.class;
    }
}
